package cn.edu.njust.control;

import cn.edu.njust.service.UserService;
import cn.edu.njust.service.impl.UserServiceImpl;
import cn.edu.njust.service.impl.trServiceImpl;
import cn.edu.njust.service.trService;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/student/*")
public class StudentController extends BaseServlet{
    UserService us = new UserServiceImpl();
    trService tr = new trServiceImpl();

    /**
     *添加预报名信息
     * @param request
     * @param response
     * @throws ServletException
     * @throws IOException
     */
    public void addPreRe(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        request.setCharacterEncoding("UTF-8");
    }



    //有个页面跳转，打算在这里实现

}
